﻿namespace builderDesignMode.Decoretor
{
    /// <summary>
    /// 装饰器模式 理解为包一层
    /// </summary>
    public class SmSDecoretorCallBack : AbstractDecoretorCallback, IPayCallBack
    {
        /// <summary>
        /// 装饰器模式 理解为包一层
        /// </summary>
        //public IPayCallBack PayCallBack { get; set; }
        public void CallBack()
        {
            PayCallBack.CallBack();
            Console.WriteLine("发送短信");
        }
    }
}
